Automated Test Case Generation Using Uml Use Case Diagram and Activity Diagram
نویسندگان
چکیده
Testing plays a major role for improving the quality of a software product. Due to its iterative and incremental nature it needs special attention. Test case generation is one of the complex activities carried out during testing phase. Generating test cases in the early phases of development life cycle works like a catalyst for model based testing and at the same time efficiently manages time and resources. This paper describes a novel approach for test case generation from UML Activity Diagram (AD) and Use Case Diagram (UCD). At first UCD and AD are converted into Use Case Graph (UCG) and Activity Graph (AG) respectively. The AG and UCG are integrated to form a combined graph called Activity Use Case Graph (AUCG). The AUCG is further traversed to generate test cases. Test cases generated using the combined approach is capable of detecting more number of faults as compared to individual models while keeping intact the total coverage. The proposed approach also reveals faults like execution fault, operational fault and use case
منابع مشابه
Efficient test case generation for validation of UML activity diagrams
Unified Modeling Language (UML) is widely used as a system level specification language in embedded system design. Due to the increasing complexity of embedded systems, the analysis and validation of UML specifications is becoming a challenge. UML activity diagram is promising to modeling the overall system behavior. However, lack of techniques for automated test case generation is one major bo...
متن کاملBehavior based Automated Test Case Generation for Object Oriented Systems
An innovative approach of generating test cases from the combination of UML design diagrams has been discussed in this paper. Present work used an approach where petal files of class diagram, sequence diagram and state chart diagram has been used to generate test cases. The test cases thus generated are suitable for static and dynamic testing of system. General Terms Test case generation from U...
متن کاملA Novel Technique for Generation and Optimization of Test Cases Using Use Case, Sequence, Activity Diagram and Genetic Algorithm
This paper presents a novel approach for generation of test cases from UML design diagrams. In this new generation scheme, we have considered use case diagram, activity diagram and sequence diagram. Our approach consists of converting the use case diagram into use case diagram graph (UDG), activity diagram into activity diagram graph (ADG) and sequence diagram into sequence diagram graph (SDG)....
متن کاملTest Case Design Using Conditioned Slicing of Activity Diagram
For testing software, test case generation is the most important part. The automation of specification based test case generation needs formal or semi formal specification. As a semiformal modeling, UML is widely used to describe analysis and design specification by both academia and industry. Thus UML models become the sources of test case generation naturally. This paper proposes a method to ...
متن کاملA Component-based Approach for Test Case Generation
Component based software engineering is a process that aims to design and construct software systems using reusable software components. Since the system is to be build with the ready to use components or prefabricated components the testing of these components is of utmost importance. Software testing is an important verification activity in Software Development Life Cycle which requires resou...
متن کامل